package models;

import java.util.ArrayList;
import java.util.List;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;
import com.googlecode.objectify.annotation.Indexed;
import com.googlecode.objectify.annotation.Unindexed;

@Cached
public class Blog {
	@Id private String blogId;
	
	@Unindexed private String blogName = "";
	
	@Unindexed private String username = "";
	
	@Unindexed private String password = "";
	
	@Unindexed private String googleStorage = "static.1streview.org";

	@Unindexed private List<String> categories = new ArrayList<String>();
	
	@Indexed private String gmail = "hoantocxoan@gmail.com";
	
	@Unindexed private int limitSite = 20;
	
	@Unindexed private String type = "blogger"; //blogger or wordpress
	
	@Indexed private int status = 1; //0-inactive, 1-active
	
	public String getBlogId() {
		return blogId;
	}

	public void setBlogId(String blogId) {
		this.blogId = blogId;
	}

	public String getBlogName() {
		return blogName;
	}

	public void setBlogName(String blogName) {
		this.blogName = blogName;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getGoogleStorage() {
		return googleStorage;
	}

	public void setGoogleStorage(String googleStorage) {
		this.googleStorage = googleStorage;
	}

	public List<String> getCategories() {
		return categories;
	}

	public void setCategories(List<String> categories) {
		this.categories = categories;
	}

	public String getGmail() {
		return gmail;
	}

	public void setGmail(String gmail) {
		this.gmail = gmail;
	}

	public int getLimitSite() {
		return limitSite;
	}

	public void setLimitSite(int limitSite) {
		this.limitSite = limitSite;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
}
